package com.whxy02.tolearn.app.beans;


//import javax.persistence.*;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *试题类型表
 */


//@Entity
//@Table(name="tb_question_type")
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_question_type")
public class QuestionType {
//    @Id
//    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(value = "question_type_id",type = IdType.AUTO)
    private Integer questionTypeId;
    private String typeName="未知";
    private Integer subjectId=1;
    private Integer questionCount=0;

}
